<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: Viewport</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../d9/dd1/struct_viewport-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">Viewport<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>视口对象  
 <a href="../../de/d02/struct_viewport.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d2/d46/_a_t_viewport_8h_source.html">ATViewport.h</a>&gt;</code></p>

<p>被 ROViewport 继承.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ac0f3549e6fc20e17229b4c3bc32137f7"><td class="memItemLeft" align="right" valign="top"><a id="ac0f3549e6fc20e17229b4c3bc32137f7" name="ac0f3549e6fc20e17229b4c3bc32137f7"></a>
ATDATACORE_EXPORT StatusInt&#160;</td><td class="memItemRight" valign="bottom"><b>ChangeAreaFromFit</b> (XPoint3dCR lowPt, XPoint3dCR highPt, bool expandClippingPlanes, bool forceCenterActiveZ)</td></tr>
<tr class="separator:ac0f3549e6fc20e17229b4c3bc32137f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6cd6e9ae368aff3f8ef56573cf35fe2"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#ac6cd6e9ae368aff3f8ef56573cf35fe2">ActiveToView</a> (XPoint3dP viewPts, XPoint3dCP activePts, int nPts) const</td></tr>
<tr class="memdesc:ac6cd6e9ae368aff3f8ef56573cf35fe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">将给定点转换到视口  <a href="../../de/d02/struct_viewport.html#ac6cd6e9ae368aff3f8ef56573cf35fe2">更多...</a><br /></td></tr>
<tr class="separator:ac6cd6e9ae368aff3f8ef56573cf35fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d6044e22138845f78d836f4707214ed"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT IViewDrawP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a8d6044e22138845f78d836f4707214ed">GetIViewDraw</a> ()</td></tr>
<tr class="memdesc:a8d6044e22138845f78d836f4707214ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视口立即绘制所需的对象  <a href="../../de/d02/struct_viewport.html#a8d6044e22138845f78d836f4707214ed">更多...</a><br /></td></tr>
<tr class="separator:a8d6044e22138845f78d836f4707214ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a616005665479a588eaf0b2af99f9ed2b"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT XRotMatrixCP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a616005665479a588eaf0b2af99f9ed2b">GetXRotMatrix</a> () const</td></tr>
<tr class="memdesc:a616005665479a588eaf0b2af99f9ed2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回视口旋转矩阵  <a href="../../de/d02/struct_viewport.html#a616005665479a588eaf0b2af99f9ed2b">更多...</a><br /></td></tr>
<tr class="separator:a616005665479a588eaf0b2af99f9ed2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add90313fc00c9b63ed19a73768518ed5"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT XPoint3dCP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#add90313fc00c9b63ed19a73768518ed5">GetScale</a> () const</td></tr>
<tr class="memdesc:add90313fc00c9b63ed19a73768518ed5"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视口的XYZ缩放比例  <a href="../../de/d02/struct_viewport.html#add90313fc00c9b63ed19a73768518ed5">更多...</a><br /></td></tr>
<tr class="separator:add90313fc00c9b63ed19a73768518ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a843ee3bc9aa42e5a45257dc7d03a5b85"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT CameraParams const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a843ee3bc9aa42e5a45257dc7d03a5b85">GetCameraRoot</a> () const</td></tr>
<tr class="memdesc:a843ee3bc9aa42e5a45257dc7d03a5b85"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取根坐标系统下该视口的相机参数  <a href="../../de/d02/struct_viewport.html#a843ee3bc9aa42e5a45257dc7d03a5b85">更多...</a><br /></td></tr>
<tr class="separator:a843ee3bc9aa42e5a45257dc7d03a5b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a479d560a21742ae06e8d57b1233a5348"><td class="memItemLeft" align="right" valign="top"><a id="a479d560a21742ae06e8d57b1233a5348" name="a479d560a21742ae06e8d57b1233a5348"></a>
ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>GetViewBox</b> (XPoint3dP pts, ATCoordSystem sys, bool adjustedBox) const</td></tr>
<tr class="separator:a479d560a21742ae06e8d57b1233a5348"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac156c0362c5fc5aa2b0147aba0216f96"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#ac156c0362c5fc5aa2b0147aba0216f96">GetViewRect</a> (<a class="el" href="../../dc/dc7/struct_a_t_rect.html">ATRect</a> &amp;rect) const</td></tr>
<tr class="memdesc:ac156c0362c5fc5aa2b0147aba0216f96"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视口矩形  <a href="../../de/d02/struct_viewport.html#ac156c0362c5fc5aa2b0147aba0216f96">更多...</a><br /></td></tr>
<tr class="separator:ac156c0362c5fc5aa2b0147aba0216f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba558dbfb5d1be812bbb4bc6f9f56fdc"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#aba558dbfb5d1be812bbb4bc6f9f56fdc">RootToView</a> (XPoint4dP viewPts, XPoint3dCP rootPts, int nPts) const</td></tr>
<tr class="memdesc:aba558dbfb5d1be812bbb4bc6f9f56fdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">将点坐标由根坐标系转换为视图坐标系  <a href="../../de/d02/struct_viewport.html#aba558dbfb5d1be812bbb4bc6f9f56fdc">更多...</a><br /></td></tr>
<tr class="separator:aba558dbfb5d1be812bbb4bc6f9f56fdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a04d0e901f027ca1a6c383d863bb4a0"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a1a04d0e901f027ca1a6c383d863bb4a0">ViewToRoot</a> (XPoint3dP rootPts, XPoint4dCP viewPts, int nPts) const</td></tr>
<tr class="memdesc:a1a04d0e901f027ca1a6c383d863bb4a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">将点坐标由视图坐标系转换为根坐标系  <a href="../../de/d02/struct_viewport.html#a1a04d0e901f027ca1a6c383d863bb4a0">更多...</a><br /></td></tr>
<tr class="separator:a1a04d0e901f027ca1a6c383d863bb4a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e3818c96dcec44884f264401a1944f2"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a9e3818c96dcec44884f264401a1944f2">RootToView</a> (XPoint3dP viewPts, XPoint3dCP rootPts, int nPts) const</td></tr>
<tr class="memdesc:a9e3818c96dcec44884f264401a1944f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">将点坐标由根坐标系转换为视图坐标系  <a href="../../de/d02/struct_viewport.html#a9e3818c96dcec44884f264401a1944f2">更多...</a><br /></td></tr>
<tr class="separator:a9e3818c96dcec44884f264401a1944f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4badbc83653f7a5cdd4f709374aabd2d"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a4badbc83653f7a5cdd4f709374aabd2d">ViewToRoot</a> (XPoint3dP rootPts, XPoint3dCP viewPts, int nPts) const</td></tr>
<tr class="memdesc:a4badbc83653f7a5cdd4f709374aabd2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">将点坐标由视图坐标系转换为根坐标系  <a href="../../de/d02/struct_viewport.html#a4badbc83653f7a5cdd4f709374aabd2d">更多...</a><br /></td></tr>
<tr class="separator:a4badbc83653f7a5cdd4f709374aabd2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f4d299121e4a9d1cdc08f8d47f241ad"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a0f4d299121e4a9d1cdc08f8d47f241ad">ViewToActive</a> (XPoint3dP activePts, XPoint3dCP viewPts, int nPts) const</td></tr>
<tr class="memdesc:a0f4d299121e4a9d1cdc08f8d47f241ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">将点坐标由视图坐标系转换为活跃坐标系  <a href="../../de/d02/struct_viewport.html#a0f4d299121e4a9d1cdc08f8d47f241ad">更多...</a><br /></td></tr>
<tr class="separator:a0f4d299121e4a9d1cdc08f8d47f241ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67844a7d5d844eb6abf6f145c5d3b2a5"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a67844a7d5d844eb6abf6f145c5d3b2a5">IsCameraOn</a> () const</td></tr>
<tr class="memdesc:a67844a7d5d844eb6abf6f145c5d3b2a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断当前相机是否启用  <a href="../../de/d02/struct_viewport.html#a67844a7d5d844eb6abf6f145c5d3b2a5">更多...</a><br /></td></tr>
<tr class="separator:a67844a7d5d844eb6abf6f145c5d3b2a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bdcb753fc36baeeed95a556b7db2b1a"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a2bdcb753fc36baeeed95a556b7db2b1a">Is3dScene</a> () const</td></tr>
<tr class="memdesc:a2bdcb753fc36baeeed95a556b7db2b1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断该视口的根场景是否是三维场景  <a href="../../de/d02/struct_viewport.html#a2bdcb753fc36baeeed95a556b7db2b1a">更多...</a><br /></td></tr>
<tr class="separator:a2bdcb753fc36baeeed95a556b7db2b1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44475bf58eb6e42ecbe16af99828c765"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATSceneP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a44475bf58eb6e42ecbe16af99828c765">GetRootScene</a> () const</td></tr>
<tr class="memdesc:a44475bf58eb6e42ecbe16af99828c765"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取该视口的根场景  <a href="../../de/d02/struct_viewport.html#a44475bf58eb6e42ecbe16af99828c765">更多...</a><br /></td></tr>
<tr class="separator:a44475bf58eb6e42ecbe16af99828c765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab49d454954a03069738217012690ef53"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATSceneRefP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#ab49d454954a03069738217012690ef53">GetTargetScene</a> () const</td></tr>
<tr class="memdesc:ab49d454954a03069738217012690ef53"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取该视口的当前目标场景  <a href="../../de/d02/struct_viewport.html#ab49d454954a03069738217012690ef53">更多...</a><br /></td></tr>
<tr class="separator:ab49d454954a03069738217012690ef53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f81fcae0a907000e358e75b69e13534"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATViewInfoCP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a0f81fcae0a907000e358e75b69e13534">GetATViewInfoCP</a> () const</td></tr>
<tr class="memdesc:a0f81fcae0a907000e358e75b69e13534"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视口信息  <a href="../../de/d02/struct_viewport.html#a0f81fcae0a907000e358e75b69e13534">更多...</a><br /></td></tr>
<tr class="separator:a0f81fcae0a907000e358e75b69e13534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac68133c598bb497631332d9295cea383"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATViewInfoP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#ac68133c598bb497631332d9295cea383">GetATViewInfoP</a> ()</td></tr>
<tr class="memdesc:ac68133c598bb497631332d9295cea383"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视口信息  <a href="../../de/d02/struct_viewport.html#ac68133c598bb497631332d9295cea383">更多...</a><br /></td></tr>
<tr class="separator:ac68133c598bb497631332d9295cea383"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc08f89c224d59f5e9925d32ff78948"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#acfc08f89c224d59f5e9925d32ff78948">GetViewNumber</a> () const</td></tr>
<tr class="memdesc:acfc08f89c224d59f5e9925d32ff78948"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取视口编号  <a href="../../de/d02/struct_viewport.html#acfc08f89c224d59f5e9925d32ff78948">更多...</a><br /></td></tr>
<tr class="separator:acfc08f89c224d59f5e9925d32ff78948"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1130119c11e09f8d6094e67eabfe36a9"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a1130119c11e09f8d6094e67eabfe36a9">GetPixelSizeAtPoint</a> (XPoint3dCP rootPt, ATCoordSystem coordSys=ATCoordSystem::Root) const</td></tr>
<tr class="memdesc:a1130119c11e09f8d6094e67eabfe36a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">同步视图信息  <a href="../../de/d02/struct_viewport.html#a1130119c11e09f8d6094e67eabfe36a9">更多...</a><br /></td></tr>
<tr class="separator:a1130119c11e09f8d6094e67eabfe36a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4863210ac8dc9454c264b292406272c4"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATECStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a4863210ac8dc9454c264b292406272c4">SynchWithATViewInfo</a> (bool saveInUndo, bool updateViewTitle)</td></tr>
<tr class="memdesc:a4863210ac8dc9454c264b292406272c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">同步视图信息  <a href="../../de/d02/struct_viewport.html#a4863210ac8dc9454c264b292406272c4">更多...</a><br /></td></tr>
<tr class="separator:a4863210ac8dc9454c264b292406272c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83af344d8dd26a68d25f466898ea1652"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a83af344d8dd26a68d25f466898ea1652">ComputeDisplayedSceneRefRange</a> (XRange3dR range, ATSceneRefP SceneRef, bool includeChildren, FitViewParams &amp;fitParams)</td></tr>
<tr class="memdesc:a83af344d8dd26a68d25f466898ea1652"><td class="mdescLeft">&#160;</td><td class="mdescRight">计算视口中显示的场景引用的范围  <a href="../../de/d02/struct_viewport.html#a83af344d8dd26a68d25f466898ea1652">更多...</a><br /></td></tr>
<tr class="separator:a83af344d8dd26a68d25f466898ea1652"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a1f470c6e6659624730a1dd4e6f8b5a31"><td class="memItemLeft" align="right" valign="top">static ATDATACORE_EXPORT UInt32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d02/struct_viewport.html#a1f470c6e6659624730a1dd4e6f8b5a31">MakeTrgbColor</a> (int red, int green, int blue, int transparency)</td></tr>
<tr class="memdesc:a1f470c6e6659624730a1dd4e6f8b5a31"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造Trgb颜色  <a href="../../de/d02/struct_viewport.html#a1f470c6e6659624730a1dd4e6f8b5a31">更多...</a><br /></td></tr>
<tr class="separator:a1f470c6e6659624730a1dd4e6f8b5a31"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >视口对象 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ac6cd6e9ae368aff3f8ef56573cf35fe2" name="ac6cd6e9ae368aff3f8ef56573cf35fe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6cd6e9ae368aff3f8ef56573cf35fe2">&#9670;&nbsp;</a></span>ActiveToView()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void Viewport::ActiveToView </td>
          <td>(</td>
          <td class="paramtype">XPoint3dP&#160;</td>
          <td class="paramname"><em>viewPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCP&#160;</td>
          <td class="paramname"><em>activePts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将给定点转换到视口 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dP</td><td>viewPts </td></tr>
    <tr><td class="paramname">XPoint3dCP</td><td>activePts </td></tr>
    <tr><td class="paramname">int</td><td>nPts </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/24 </dd></dl>

</div>
</div>
<a id="a83af344d8dd26a68d25f466898ea1652" name="a83af344d8dd26a68d25f466898ea1652"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83af344d8dd26a68d25f466898ea1652">&#9670;&nbsp;</a></span>ComputeDisplayedSceneRefRange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT StatusInt Viewport::ComputeDisplayedSceneRefRange </td>
          <td>(</td>
          <td class="paramtype">XRange3dR&#160;</td>
          <td class="paramname"><em>range</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATSceneRefP&#160;</td>
          <td class="paramname"><em>SceneRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>includeChildren</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FitViewParams &amp;&#160;</td>
          <td class="paramname"><em>fitParams</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>计算视口中显示的场景引用的范围 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XRange3dR</td><td>range </td></tr>
    <tr><td class="paramname">ATSceneRefP</td><td>SceneRef </td></tr>
    <tr><td class="paramname">bool</td><td>includeChildren </td></tr>
    <tr><td class="paramname">FitViewParams</td><td>&amp; fitParams </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT StatusInt</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a0f81fcae0a907000e358e75b69e13534" name="a0f81fcae0a907000e358e75b69e13534"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f81fcae0a907000e358e75b69e13534">&#9670;&nbsp;</a></span>GetATViewInfoCP()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATViewInfoCP Viewport::GetATViewInfoCP </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取视口信息 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATViewInfoCP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="ac68133c598bb497631332d9295cea383" name="ac68133c598bb497631332d9295cea383"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac68133c598bb497631332d9295cea383">&#9670;&nbsp;</a></span>GetATViewInfoP()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATViewInfoP Viewport::GetATViewInfoP </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取视口信息 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATViewInfoP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a843ee3bc9aa42e5a45257dc7d03a5b85" name="a843ee3bc9aa42e5a45257dc7d03a5b85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a843ee3bc9aa42e5a45257dc7d03a5b85">&#9670;&nbsp;</a></span>GetCameraRoot()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT CameraParams const  * Viewport::GetCameraRoot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取根坐标系统下该视口的相机参数 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT CameraParams const*</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a8d6044e22138845f78d836f4707214ed" name="a8d6044e22138845f78d836f4707214ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d6044e22138845f78d836f4707214ed">&#9670;&nbsp;</a></span>GetIViewDraw()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT IViewDrawP Viewport::GetIViewDraw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取视口立即绘制所需的对象 </p>
<dl class="section note"><dt>注解</dt><dd>IViewDraw上的接口可以用于绘制视图装饰</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT IViewDrawP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a1130119c11e09f8d6094e67eabfe36a9" name="a1130119c11e09f8d6094e67eabfe36a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1130119c11e09f8d6094e67eabfe36a9">&#9670;&nbsp;</a></span>GetPixelSizeAtPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT double Viewport::GetPixelSizeAtPoint </td>
          <td>(</td>
          <td class="paramtype">XPoint3dCP&#160;</td>
          <td class="paramname"><em>rootPt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATCoordSystem&#160;</td>
          <td class="paramname"><em>coordSys</em> = <code>ATCoordSystem::Root</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>同步视图信息 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>saveInUndo </td></tr>
    <tr><td class="paramname">bool</td><td>updateViewTitle </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATECStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a44475bf58eb6e42ecbe16af99828c765" name="a44475bf58eb6e42ecbe16af99828c765"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44475bf58eb6e42ecbe16af99828c765">&#9670;&nbsp;</a></span>GetRootScene()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATSceneP Viewport::GetRootScene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取该视口的根场景 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATSceneP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="add90313fc00c9b63ed19a73768518ed5" name="add90313fc00c9b63ed19a73768518ed5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add90313fc00c9b63ed19a73768518ed5">&#9670;&nbsp;</a></span>GetScale()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT XPoint3dCP Viewport::GetScale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取视口的XYZ缩放比例 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT XPoint3dCP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="ab49d454954a03069738217012690ef53" name="ab49d454954a03069738217012690ef53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab49d454954a03069738217012690ef53">&#9670;&nbsp;</a></span>GetTargetScene()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATSceneRefP Viewport::GetTargetScene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取该视口的当前目标场景 </p>
<dl class="section note"><dt>注解</dt><dd>当该视口被选中时，该视口的当前目标场景成为当前活跃场景</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATSceneRefP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="acfc08f89c224d59f5e9925d32ff78948" name="acfc08f89c224d59f5e9925d32ff78948"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfc08f89c224d59f5e9925d32ff78948">&#9670;&nbsp;</a></span>GetViewNumber()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT int Viewport::GetViewNumber </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取视口编号 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT int</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="ac156c0362c5fc5aa2b0147aba0216f96" name="ac156c0362c5fc5aa2b0147aba0216f96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac156c0362c5fc5aa2b0147aba0216f96">&#9670;&nbsp;</a></span>GetViewRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void Viewport::GetViewRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/dc7/struct_a_t_rect.html">ATRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取视口矩形 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="../../dc/dc7/struct_a_t_rect.html" title="矩形类">ATRect</a></td><td>&amp; rect </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a616005665479a588eaf0b2af99f9ed2b" name="a616005665479a588eaf0b2af99f9ed2b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a616005665479a588eaf0b2af99f9ed2b">&#9670;&nbsp;</a></span>GetXRotMatrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT XRotMatrixCP Viewport::GetXRotMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回视口旋转矩阵 </p>
<dl class="section note"><dt>注解</dt><dd>不支持透视变换</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT XRotMatrixCP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a2bdcb753fc36baeeed95a556b7db2b1a" name="a2bdcb753fc36baeeed95a556b7db2b1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bdcb753fc36baeeed95a556b7db2b1a">&#9670;&nbsp;</a></span>Is3dScene()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT bool Viewport::Is3dScene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断该视口的根场景是否是三维场景 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a67844a7d5d844eb6abf6f145c5d3b2a5" name="a67844a7d5d844eb6abf6f145c5d3b2a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67844a7d5d844eb6abf6f145c5d3b2a5">&#9670;&nbsp;</a></span>IsCameraOn()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT bool Viewport::IsCameraOn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断当前相机是否启用 </p>
<p >在当前上下文中，如果根到视图变换包含一个透视变换，那么相机启用着</p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a1f470c6e6659624730a1dd4e6f8b5a31" name="a1f470c6e6659624730a1dd4e6f8b5a31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f470c6e6659624730a1dd4e6f8b5a31">&#9670;&nbsp;</a></span>MakeTrgbColor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATDATACORE_EXPORT UInt32 Viewport::MakeTrgbColor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>blue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>transparency</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造Trgb颜色 </p>
<dl class="section note"><dt>注解</dt><dd>分量的范围为[0, 255]</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">int</td><td>red 红色分量 </td></tr>
    <tr><td class="paramname">int</td><td>green 绿色分量 </td></tr>
    <tr><td class="paramname">int</td><td>blue 蓝色分量 </td></tr>
    <tr><td class="paramname">int</td><td>transparency 透明分量，0代表不透明，255代表透明 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT UInt32 Trgb颜色</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a9e3818c96dcec44884f264401a1944f2" name="a9e3818c96dcec44884f264401a1944f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e3818c96dcec44884f264401a1944f2">&#9670;&nbsp;</a></span>RootToView() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void Viewport::RootToView </td>
          <td>(</td>
          <td class="paramtype">XPoint3dP&#160;</td>
          <td class="paramname"><em>viewPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCP&#160;</td>
          <td class="paramname"><em>rootPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将点坐标由根坐标系转换为视图坐标系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dP</td><td>viewPts </td></tr>
    <tr><td class="paramname">XPoint3dCP</td><td>rootPts </td></tr>
    <tr><td class="paramname">int</td><td>nPts </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="aba558dbfb5d1be812bbb4bc6f9f56fdc" name="aba558dbfb5d1be812bbb4bc6f9f56fdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba558dbfb5d1be812bbb4bc6f9f56fdc">&#9670;&nbsp;</a></span>RootToView() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void Viewport::RootToView </td>
          <td>(</td>
          <td class="paramtype">XPoint4dP&#160;</td>
          <td class="paramname"><em>viewPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCP&#160;</td>
          <td class="paramname"><em>rootPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将点坐标由根坐标系转换为视图坐标系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint4dP</td><td>viewPts </td></tr>
    <tr><td class="paramname">XPoint3dCP</td><td>rootPts </td></tr>
    <tr><td class="paramname">int</td><td>nPts </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a4863210ac8dc9454c264b292406272c4" name="a4863210ac8dc9454c264b292406272c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4863210ac8dc9454c264b292406272c4">&#9670;&nbsp;</a></span>SynchWithATViewInfo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATECStatus Viewport::SynchWithATViewInfo </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>saveInUndo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>updateViewTitle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>同步视图信息 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>saveInUndo </td></tr>
    <tr><td class="paramname">bool</td><td>updateViewTitle </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATECStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a0f4d299121e4a9d1cdc08f8d47f241ad" name="a0f4d299121e4a9d1cdc08f8d47f241ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f4d299121e4a9d1cdc08f8d47f241ad">&#9670;&nbsp;</a></span>ViewToActive()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void Viewport::ViewToActive </td>
          <td>(</td>
          <td class="paramtype">XPoint3dP&#160;</td>
          <td class="paramname"><em>activePts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCP&#160;</td>
          <td class="paramname"><em>viewPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将点坐标由视图坐标系转换为活跃坐标系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dP</td><td>activePts </td></tr>
    <tr><td class="paramname">XPoint3dCP</td><td>viewPts </td></tr>
    <tr><td class="paramname">int</td><td>nPts </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a4badbc83653f7a5cdd4f709374aabd2d" name="a4badbc83653f7a5cdd4f709374aabd2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4badbc83653f7a5cdd4f709374aabd2d">&#9670;&nbsp;</a></span>ViewToRoot() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void Viewport::ViewToRoot </td>
          <td>(</td>
          <td class="paramtype">XPoint3dP&#160;</td>
          <td class="paramname"><em>rootPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint3dCP&#160;</td>
          <td class="paramname"><em>viewPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将点坐标由视图坐标系转换为根坐标系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dP</td><td>rootPts </td></tr>
    <tr><td class="paramname">XPoint3dCP</td><td>viewPts </td></tr>
    <tr><td class="paramname">int</td><td>nPts </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="a1a04d0e901f027ca1a6c383d863bb4a0" name="a1a04d0e901f027ca1a6c383d863bb4a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a04d0e901f027ca1a6c383d863bb4a0">&#9670;&nbsp;</a></span>ViewToRoot() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void Viewport::ViewToRoot </td>
          <td>(</td>
          <td class="paramtype">XPoint3dP&#160;</td>
          <td class="paramname"><em>rootPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XPoint4dCP&#160;</td>
          <td class="paramname"><em>viewPts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将点坐标由视图坐标系转换为根坐标系 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">XPoint3dP</td><td>rootPts </td></tr>
    <tr><td class="paramname">XPoint4dCP</td><td>viewPts </td></tr>
    <tr><td class="paramname">int</td><td>nPts </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../d2/d46/_a_t_viewport_8h_source.html">ATViewport.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
